package com.wanwu.channel.dto.vo;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * @ClassName PayQueryStrategyRequest
 * @Description 渠道支付交易结果查询公共请求
 * @Author husheng
 * @Date 2020-01-16 21:25
 */
@Data
public class PayQueryStrategyReqVo extends BaseReqVo {

    private static final long serialVersionUID = 1736514925199165640L;

    /**
     *  业务线商家交易单号,上送标识为0时有值
     */

    private String bizOrderNo;

    /**
     * 渠道单号 上送标识为1时有值
     */
    private String channelNo;

    /**
     * 上送第三方单号标识 0-业务线支付单号 1-渠道编号
     */
    private Integer thirdFlag;

    //三方支付流水号
    private String thirdOrderNo;

    //通联流水号
    private String trxId;

    //商户号
    private String merchantNo;

    private String merchantAppId;

    //支付单创建时间：做第三方订单超时用
    private Date payOrderCreateTime;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}
